﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace FY13.ViewModel
{
    public class ContactViewModel
    {
        public ObservableCollection<Data.Contact> ContactsDataSource
        {
            get;
            set;
        }
        public ContactViewModel()
        {
            ContactsDataSource = new ObservableCollection<Data.Contact>();
            ContactsDataSource.Add(new Data.Contact { Name = "Karen Li", Phone = "186 1826 4628" });
            ContactsDataSource.Add(new Data.Contact { Name = "MingMing Zhang", Phone = "158 1133 9915" });
            ContactsDataSource.Add(new Data.Contact { Name = "Anna Jin", Phone = "135 5228 6510" });
            ContactsDataSource.Add(new Data.Contact { Name = "Rebecca Wang", Phone = "139 1022 6774" });
            ContactsDataSource.Add(new Data.Contact { Name = "Sandra Yu", Phone = "139 1116 5090" });
            ContactsDataSource.Add(new Data.Contact { Name = "Tina Hao", Phone = "139 1146 8060" });
        }
    }
}
